/*
 * Copyright (c) 2021 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: Apache-2.0
 */


#include <zephyr/ztest.h>
#include "manifest12_decode.h"
#include "zcbor_debug.h" // Enables use of print functions when debugging tests.

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector0[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0xef,
	0x8d, 0x46, 0x6c, 0xc9, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82,
	0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x00, 0x04, 0x58, 0x56, 0x86, 0x14,
	0xa4, 0x01, 0x5a, 0xfa, 0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe,
	0x9d, 0xe6, 0x63, 0xe4, 0xd4, 0x1f, 0xfe, 0x02, 0x50, 0x14, 0x92, 0xaf,
	0x14, 0x25, 0x69, 0x5e, 0x48, 0xbf, 0x42, 0x9b, 0x2d, 0x51, 0xf2, 0xab,
	0x45, 0x03, 0x58, 0x24, 0x82, 0x02, 0x58, 0x20, 0x00, 0x11, 0x22, 0x33,
	0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82,
	0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82,
	0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82,
	0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82,
	0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82,
	0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x02, 0xf6, 0x39, 0xa8, 0x55, 0xec,
	0x9a, 0xf3, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0xd2, 0x84, 0x01, 0x00,
	0x01, 0x26, 0xa0, 0xf6, 0x58, 0x40, 0xa1, 0x9f, 0xd1, 0xf2, 0x3b, 0x17,
	0xbe, 0xfc, 0x32, 0x1c, 0xec, 0xe7, 0x42, 0x3d, 0xfb, 0x48, 0xc4, 0x57,
	0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x57, 0x7a, 0x3c, 0x10, 0xc6, 0x77, 0x3f,
	0x6f, 0x3a, 0x82, 0x11, 0x37, 0x6b, 0x59, 0x54, 0x09, 0x20, 0xb6, 0xc5,
	0xf5, 0x7b, 0xac, 0x5f, 0xc8, 0x54, 0x3d, 0x8f, 0x5d, 0x3d, 0x97, 0x4f,
	0xaa, 0x2e, 0x6d, 0x03, 0xda, 0xa5, 0x34, 0xb4, 0x43, 0xa7, 0x03, 0x58,
	0x71, 0xa5, 0x01, 0x01, 0x02, 0x00, 0x03, 0x58, 0x5f, 0xa2, 0x02, 0x81,
	0x81, 0x41, 0x00, 0x04, 0x58, 0x56, 0x86, 0x14, 0xa4, 0x01, 0x50, 0xfa,
	0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe, 0x9d, 0xe6, 0x63, 0xe4,
	0xd4, 0x1f, 0xfe, 0x02, 0x50, 0x14, 0x92, 0xaf, 0x14, 0x25, 0x69, 0x5e,
	0x48, 0xbf, 0x42, 0x9b, 0x2d, 0x51, 0xf2, 0xab, 0x45, 0x03, 0x58, 0x24,
	0x82, 0x02, 0x58, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82,
	0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82,
	0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x20,
	0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb,
	0xcc, 0xdd, 0xee, 0xff, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef,
	0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10, 0x0e, 0x19, 0x87, 0xd0,
	0x01, 0x0f, 0x02, 0x0f, 0x0a, 0x43, 0x82, 0x03, 0x0f, 0x0c, 0x00, 0x00,
	0x7f, 0xff, 0x50, 0x9a, 0x00, 0xf9, 0x80, 0xb0, 0x84, 0x43, 0x64, 0xff,
	0xba, 0x98, 0x49, 0x00, 0xe6, 0x76, 0xf5, 0x00, 0x00, 0xfa, 0x47, 0x00,
	0x7f, 0x78, 0x51, 0x10, 0x10, 0x1a, 0xfa, 0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector1[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0xfb, 0x48, 0xc4, 0x57, 0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x57, 0x7a, 0xd2,
	0x84, 0x43, 0xa1, 0x01, 0x26, 0xa0, 0xf6, 0x58, 0x40, 0xa1, 0x9f, 0xd1,
	0xf2, 0x3b, 0x17, 0xbe, 0xfc, 0x32, 0x1c, 0x00, 0x80, 0x42, 0x3d, 0xfb,
	0x48, 0xc4, 0x57, 0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x57, 0x7a, 0x3c, 0x10,
	0xc6, 0x77, 0x3f, 0x6f, 0x3a, 0x79, 0x02, 0x37, 0x6b, 0x59, 0x54, 0x09,
	0x20, 0xb6, 0xc5, 0xf5, 0x7b, 0xac, 0x5f, 0xc8, 0x54, 0x3d, 0x8f, 0x5d,
	0x3d, 0x97, 0x4f, 0xaa, 0x2e, 0x6d, 0x03, 0xda, 0xa5, 0x34, 0xb4, 0x43,
	0xa7, 0x03, 0x58, 0x71, 0xa5, 0x01, 0x01, 0x02, 0x00, 0x03, 0x58, 0x5f,
	0xa2, 0x02, 0x60, 0x81, 0x41, 0x00, 0x04, 0x58, 0x56, 0x86, 0x14, 0xa4,
	0x01, 0x50, 0xfa, 0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe, 0x9d,
	0xe6, 0x63, 0xe4, 0xd4, 0x1f, 0xfe, 0x02, 0x50, 0x14, 0x92, 0xaf, 0x14,
	0x25, 0x69, 0x5e, 0x48, 0xbf, 0x42, 0x9b, 0x2d, 0x51, 0xf2, 0xab, 0x45,
	0x03, 0x58, 0x24, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff, 0x01,
	0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0xfe, 0xdc, 0xba, 0x98, 0x76,
	0x54, 0x32, 0x10, 0x0e, 0x19, 0x87, 0xd0, 0x01, 0x0f, 0x02, 0x0f, 0x0a,
	0x43, 0x82, 0x03, 0x0f, 0x0c, 0x43, 0x82, 0x17, 0x01, 0x50, 0x9a, 0x00,
	0xf9, 0x80, 0xb0, 0x84, 0x43, 0x64, 0xff, 0xba, 0x98, 0x49, 0x00, 0xe6,
	0x76, 0xf5, 0x00, 0x00, 0xfa, 0x47, 0x00, 0x7f, 0x78, 0x51, 0x10, 0x10,
	0x1a, 0xfa, 0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector2[] = {
	0xd8, 0x30, 0xa2, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 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e, 0x19, 0x87, 0xd0, 0x01, 0x0f, 0x02, 0x0f, 0x0a,
	0x43, 0x82, 0x03, 0x0f, 0x0c, 0x43, 0x7f, 0x02, 0x58, 0x20, 0x5c, 0x09,
	0x7e, 0xf6, 0x4b, 0xdc, 0x40, 0x13, 0x63, 0xb5, 0x45, 0x03, 0x33, 0x00,
	0x9b, 0x49, 0x0a, 0x43, 0x33, 0x3d, 0x50, 0x1f, 0x86, 0x64, 0xe2, 0x98,
	0x14, 0x42, 0xd1, 0x3d, 0x50, 0x17, 0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f,
	0xcb, 0xbe, 0xb4, 0x45, 0x67, 0x20, 0x00, 0x50, 0x50, 0x50, 0x45, 0x50,
	0x00, 0x00, 0x00, 0x20, 0x50, 0x50, 0x50, 0x50, 0x50, 0x50, 0x50, 0x50,
	0x50, 0x50, 0x50, 0x50, 0x50, 0x50, 0x50, 0x50, 0x9d, 0x70, 0x0f, 0x39,
	0x39, 0x39, 0x39, 0x39, 0x00, 0x05, 0xff, 0xff, 0x05, 0x00, 0x02, 0x7b,
	0xac, 0x70, 0xbf, 0x00, 0x8e, 0x50, 0x79, 0x80, 0xbf, 0x00, 0x6e, 0x24,
	0x62, 0x01, 0x04, 0xa4, 0x01, 0xab, 0x30, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x07, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x70, 0x3a,
	0x2f, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x63, 0x6f,
	0x6d, 0x2f, 0x66, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x00, 0x05, 0xff, 0xff, 0x05, 0x00, 0x02, 0x7b, 0xac, 0x5f,
	0xc8, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x07, 0xfe, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00,
	0x00, 0x01, 0x00, 0x08, 0x08, 0x08, 0x08, 0xe7, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x58, 0x27, 0x63, 0xe4, 0xd4, 0x5f, 0xe5, 0xe5, 0xff, 0xe5,
	0xe5, 0xe5, 0x2f, 0x65, 0x0c, 0x59, 0x67, 0x82, 0xe2, 0x82, 0x81, 0x41,
	0x00, 0xa0, 0x00, 0x10, 0x65, 0x78, 0x64, 0x00, 0x00, 0x50, 0x4b, 0x01,
	0x55, 0x66, 0x77, 0x88, 0x00, 0xf1, 0x42, 0x02, 0x57, 0x72, 0xc8, 0x02,
	0x00, 0x40, 0xb9, 0x02, 0x57, 0x91, 0xa5, 0xaf, 0x1c, 0x46, 0x69, 0x5e,
	0x5f, 0xc8, 0x94, 0xa6, 0x80, 0xd6, 0xb5, 0x98, 0x3c, 0x27, 0x4d, 0xab,
	0xa8, 0x97, 0xbe, 0xff, 0x80, 0xb0, 0x10, 0x50, 0x79, 0x70, 0xbf, 0x00,
	0x8e, 0x50, 0x79, 0x80, 0xbf, 0x00, 0x6e, 0x24, 0x62, 0x01, 0x04, 0xa4,
	0x01, 0xab, 0x30, 0x08, 0x08, 0x08, 0x08, 0x08, 0x07, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x70, 0x3a, 0x2f, 0x2f, 0x65, 0x78,
	0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00, 0x05,
	0xff, 0xff, 0x05, 0x00, 0x02, 0x7b, 0xac, 0x5f, 0xc8, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x07, 0xfe, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x00, 0x1b, 0x09, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00, 0x1c, 0x01, 0x00, 0x08,
	0x08, 0x08, 0x08, 0xe7, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0xf3, 0xe9, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x07, 0xee,
	0x08, 0x08, 0x08, 0x58, 0x27, 0x63, 0xe4, 0xd4, 0x5f, 0xb1, 0x02, 0x50,
	0x79, 0x84, 0x43, 0xa1, 0x01, 0x19, 0xa0, 0xf6, 0x2c, 0x40, 0xa1, 0xfd,
	0xe5, 0xff, 0xff, 0xe5, 0xe5, 0xe5, 0x2f, 0x65, 0x0c, 0x59, 0x67, 0x82,
	0xe2, 0x82, 0x81, 0x41, 0x00, 0xa0, 0x00, 0x10, 0x65, 0x78, 0x64, 0x00,
	0x00, 0x50, 0x4b, 0x01, 0x55, 0x66, 0x77, 0x88, 0x00, 0xf1, 0x42, 0x02,
	0x57, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
	0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x17, 0x07, 0x07,
	0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
	0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
	0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
	0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
	0x07, 0x07, 0x07, 0x00, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
	0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
	0x07, 0xf6, 0xac, 0x83, 0x57, 0x7a, 0x3c, 0x10, 0xc6, 0x77, 0x3f, 0x6f,
	0x3a, 0x79, 0x02, 0x37, 0x6b, 0x59, 0x54, 0x09, 0x20, 0xb6, 0xc5, 0xf5,
	0x7b, 0xac, 0x5f, 0xc8, 0x54, 0x3d, 0x8f, 0x5d, 0x3d, 0x97, 0x4f, 0xaa,
	0x2e, 0x6d, 0x03, 0xda, 0xa5, 0x34, 0xb4, 0x43, 0xa7, 0x03, 0x58, 0x71,
	0xa5, 0x01, 0x01, 0x02, 0x00, 0x03, 0x58, 0x5f, 0xa2, 0x02, 0x33, 0x81,
	0x41, 0x02, 0x04, 0x58, 0x56, 0x86, 0x14, 0xa4, 0x67, 0x66, 0xab, 0xcd,
	0xef, 0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x20, 0x00, 0x19, 0x0e,
	0x19, 0x20, 0xd0, 0x01, 0x0f, 0x02, 0x0f, 0x0a, 0x43, 0x82, 0x03, 0x00,
	0x00, 0x00, 0x20, 0x17, 0x01, 0x50, 0x9a, 0x00, 0xf9, 0x80, 0xb0, 0x84,
	0x43, 0x64, 0xff, 0xba, 0x98, 0x49, 0x00, 0xe6, 0x76, 0xf5, 0x00, 0x00,
	0xfa, 0x47, 0x7f, 0x39, 0xa8, 0x55, 0xec, 0x9a, 0xf3, 0xe9, 0xed, 0xdb,
	0x99, 0x58, 0x4a, 0xd2, 0x64, 0x00, 0x00, 0x00, 0xfe, 0x02, 0x50, 0x14,
	0x92, 0xaf, 0x14, 0x25, 0x69, 0x5e, 0x01, 0xbf, 0x42, 0x9b, 0x2d, 0x51,
	0xf2, 0x2b, 0x41, 0x03, 0x58, 0x24, 0x5c, 0x00, 0xf9, 0x74, 0x51, 0x00,
	0x01, 0x00, 0x08, 0x08, 0x08, 0x08, 0xe7, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x07, 0xf3, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
	0x08, 0x08, 0x10, 0x10, 0x1a, 0xfa, 0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector3[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0xa8, 0x4f, 0xec, 0x9a, 0x86, 0x73, 0xdb, 0x48, 0xbb, 0x57, 0xb8, 0xf1,
	0xe5, 0xa8, 0x26, 0x38, 0x01, 0x0c, 0x7a, 0xf4, 0x80, 0x06, 0x64, 0x00,
	0x10, 0x00, 0xf3, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0xd2, 0x84, 0x43,
	0xa1, 0x01, 0x26, 0xf2, 0xf6, 0x58, 0x40, 0xa1, 0x9f, 0xd1, 0xf2, 0x3b,
	0x17, 0xbe, 0xfc, 0x32, 0x1c, 0xec, 0xe7, 0x42, 0x3d, 0xfb, 0x48, 0xc4,
	0x20, 0x00, 0x00, 0x00, 0xac, 0x83, 0x57, 0x7a, 0x3c, 0x10, 0xc6, 0x77,
	0x3f, 0x6f, 0x3a, 0x79, 0x02, 0x42, 0x3d, 0xfb, 0x48, 0xc4, 0x57, 0xb8,
	0xf1, 0xf6, 0xac, 0x83, 0x57, 0x7a, 0x3c, 0x04, 0xc6, 0x77, 0x3f, 0x6f,
	0x3a, 0x79, 0x02, 0x37, 0x6b, 0x59, 0x54, 0x09, 0x20, 0xb6, 0xc5, 0xf5,
	0x7b, 0xac, 0x5f, 0xc8, 0x54, 0x3d, 0x8f, 0x5d, 0x3d, 0x97, 0x4f, 0xaa,
	0x2e, 0x6d, 0x03, 0xda, 0xa5, 0x34, 0xb4, 0x43, 0xa7, 0x03, 0x58, 0x71,
	0xa5, 0x01, 0x01, 0x02, 0x00, 0x45, 0x1b, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa,
	0xbb, 0xcc, 0xdd, 0xee, 0xff, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd,
	0xef, 0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10, 0x0e, 0x19, 0x87,
	0xd0, 0x01, 0x0f, 0x02, 0x0f, 0x0a, 0x43, 0x82, 0x03, 0x0f, 0x0c, 0x43,
	0x82, 0x17, 0x01, 0x50, 0x9a, 0x00, 0x10, 0xff, 0x1a, 0xfa, 0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector4[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x39, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0xa8, 0x55, 0xec, 0x9a, 0xf3, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0xd2,
	0x84, 0x43, 0xa1, 0x01, 0x58, 0x56, 0x86, 0x14, 0xa4, 0x01, 0x5a, 0xfa,
	0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe, 0x9d, 0xe6, 0x63, 0xe4,
	0xd4, 0x1f, 0xfe, 0x02, 0x81, 0x14, 0x92, 0xaf, 0x14, 0x25, 0x69, 0x5e,
	0x48, 0xbf, 0x42, 0x9b, 0x3a, 0x79, 0x02, 0x37, 0x6b, 0x59, 0x54, 0x09,
	0x20, 0x93, 0xc5, 0xf5, 0x7b, 0xac, 0x5f, 0xc8, 0x54, 0x3d, 0x8f, 0x5d,
	0x3d, 0x97, 0x4f, 0xaa, 0x2e, 0x6d, 0x03, 0xda, 0xa5, 0x34, 0xb4, 0x43,
	0xa7, 0x03, 0x58, 0x71, 0xa5, 0x01, 0x01, 0x02, 0x00, 0x03, 0x58, 0x5f,
	0xa2, 0x02, 0x81, 0x81, 0x41, 0x00, 0x04, 0x58, 0x56, 0x86, 0x14, 0xa4,
	0x01, 0x5a, 0xfa, 0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe, 0x02,
	0x58, 0x20, 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99,
	0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab,
	0xcd, 0xef, 0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0xaf, 0xcc, 0xbb, 0xf1,
	0xe2, 0x00, 0x23, 0x45, 0xab, 0x39, 0xc9, 0xca, 0xf1, 0xfa, 0xff, 0x9a,
	0x98, 0x49, 0x00, 0x04, 0x00, 0x23, 0xff, 0x0c, 0x04, 0x22, 0x58, 0x67,
	0x83, 0x02, 0xba, 0x98, 0x49, 0x00, 0xe6, 0x76, 0xf5, 0x00, 0x00, 0xfa,
	0x47, 0x00, 0x7f, 0x78, 0x51, 0x10, 0x10, 0x1a, 0xfa, 0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector5[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0xa8, 0x55, 0xec, 0x9a, 0xf3, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x34, 0xb4,
	0x43, 0xa7, 0x03, 0x58, 0x71, 0xa5, 0x01, 0x01, 0x02, 0x00, 0x03, 0x58,
	0x5f, 0xa2, 0x02, 0x81, 0x81, 0x41, 0x00, 0x04, 0x58, 0x56, 0x86, 0x14,
	0xa4, 0x01, 0x5a, 0xfa, 0x6b, 0x4e, 0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe,
	0x9d, 0xe6, 0x63, 0xe4, 0xd4, 0x1f, 0xfe, 0x02, 0x50, 0x14, 0x92, 0xaf,
	0x14, 0x25, 0x69, 0x5e, 0x48, 0xbf, 0x42, 0x9b, 0x2d, 0x51, 0xf2, 0xab,
	0x45, 0x03, 0x58, 0x24, 0x82, 0x02, 0x58, 0x20, 0x00, 0x11, 0x22, 0x33,
	0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff,
	0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0xfe, 0xdc, 0xba, 0x98,
	0x76, 0x54, 0x32, 0x10, 0x0e, 0x19, 0x87, 0xd0, 0x01, 0x0f, 0x02, 0x0f,
	0x0a, 0x43, 0x82, 0x03, 0x0f, 0x0c, 0x43, 0x82, 0x17, 0x01, 0x50, 0x9a,
	0x00, 0xf9, 0x80, 0xb0, 0x84, 0x43, 0x64, 0xff, 0xba, 0x98, 0x49, 0x00,
	0xe6, 0x76, 0xf5, 0x00, 0x00, 0xfa, 0x47, 0x00, 0x7f, 0x78, 0x51, 0x10,
	0x10, 0x1a, 0xfa, 0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector6[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xe3, 0x41, 0x8e, 0xef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0x00, 0xfa, 0x47,
	0x00, 0x7f, 0x78, 0x51, 0x10, 0x10, 0x1a, 0xfa, 0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector7[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x11, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x5a, 0xc9, 0x02, 0xf6, 0x39,
	0xe8, 0x55, 0xec, 0x9a, 0xf3, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0xd2,
	0x84, 0x43, 0xa1, 0x01, 0x26, 0xa0, 0xf6, 0x58, 0x25, 0x1c, 0xec, 0xe7,
	0x42, 0x3d, 0xfb, 0x48, 0xc4, 0x57, 0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x57,
	0x92, 0xaf, 0x14, 0x25, 0x69, 0x5e, 0x48, 0xbf, 0x42, 0x9b, 0x2d, 0x51,
	0xf2, 0xab, 0x27, 0x03, 0x58, 0x24, 0x82, 0x02, 0x58, 0x20, 0x00, 0x01,
	0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd,
	0xee, 0xff, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0xfe, 0xdc,
	0xba, 0x98, 0x76, 0x54, 0x32, 0x10, 0x0e, 0x19, 0x87, 0xd0, 0x01, 0x0f,
	0x02, 0x0f, 0x0a, 0x43, 0x82, 0x03, 0x0f, 0x0c, 0x43, 0x82, 0x17, 0x01,
	0x50, 0x9a, 0x00, 0xf9, 0x80, 0xb0, 0x84, 0x43, 0x64, 0xff, 0xba, 0x98,
	0x49, 0x00, 0xe6, 0x76, 0xf5, 0x00, 0x00, 0xfa, 0x47, 0x00, 0x7f, 0x78,
	0x51, 0x10, 0x10, 0x1a, 0xfa, 0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector8[] = {
	0xd8, 0x30, 0xa4, 0x01, 0x52, 0x9a, 0x00, 0x00, 0x00, 0x01, 0x81, 0x47,
	0x94, 0x7a, 0xee, 0x9a, 0xf3, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0xd2,
	0x84, 0x43, 0xa1, 0x01, 0x26, 0xa0, 0xf6, 0x58, 0x40, 0xa1, 0x9f, 0xd1,
	0xf2, 0x3b, 0x17, 0xbe, 0xfc, 0x32, 0x1c, 0xec, 0xe7, 0x42, 0x3d, 0xfb,
	0x48, 0xc4, 0x57, 0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x57, 0x7a, 0x3c, 0x10,
	0xc6, 0x77, 0x3f, 0x6f, 0x3a, 0x79, 0x02, 0x37, 0x6b, 0x59, 0x54, 0x09,
	0x20, 0xb6, 0xc5, 0xf5, 0x7b, 0xac, 0x5f, 0xc8, 0x54, 0x3d, 0x8f, 0x5d,
	0x3d, 0x97, 0x4f, 0xaa, 0x2e, 0x6d, 0x03, 0xda, 0xa5, 0x34, 0xb4, 0x43,
	0xa7, 0x03, 0x58, 0x71, 0xa5, 0x01, 0x01, 0x02, 0x00, 0x03, 0x00, 0x20,
	0xa2, 0x02, 0x81, 0x81, 0x41, 0x00, 0x04, 0x58, 0x56, 0x86, 0xff, 0x7f,
	0x01, 0x50, 0xfa, 0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe, 0x9d,
	0xe6, 0x63, 0xe4, 0xd4, 0x1f, 0xbe, 0xfe, 0x02, 0x50, 0x14, 0x92, 0xaf,
	0x00, 0x00, 0xfa, 0x39, 0x00, 0x00, 0x00, 0xfa, 0x39, 0x00, 0x14, 0x25,
	0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71, 0xe1, 0xf2, 0x41, 0x8e, 0xef,
	0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39, 0xa8, 0x55, 0xec, 0x9a, 0xf3,
	0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0xd2, 0x84, 0x43, 0xa1, 0x01, 0x26,
	0xa0, 0xf6, 0x58, 0x40, 0xa1, 0x9f, 0xd1, 0xf2, 0x3b, 0x17, 0xbe, 0xfc,
	0x32, 0x1c, 0xec, 0xe7, 0x42, 0x3d, 0xfb, 0x48, 0xc4, 0x57, 0xb8, 0xf1,
	0xf6, 0xac, 0x83, 0x57, 0x7a, 0x3c, 0x10, 0xc6, 0x77, 0x3f, 0x6f, 0x3a,
	0x79, 0x02, 0x37, 0x6b, 0x59, 0x54, 0x09, 0x20, 0xb6, 0xc5, 0xf5, 0x7b,
	0xac, 0x5f, 0xc8, 0x54, 0x3d, 0x8f, 0x5d, 0x3d, 0x97, 0x4f, 0xaa, 0x2e,
	0x6d, 0x03, 0xda, 0xa5, 0x34, 0xb4, 0x43, 0xa7, 0x03, 0x58, 0x71, 0xa5,
	0x01, 0x01, 0x02, 0x46, 0x59, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46,
	0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46,
	0x46, 0x46, 0x4b, 0x46, 0x46, 0x46, 0x46, 0x46, 0x00, 0x40, 0x46, 0x46,
	0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46,
	0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46,
	0x46, 0x46, 0xff, 0xff, 0xff, 0x7f, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46,
	0x46, 0x46, 0x66, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46,
	0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46,
	0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46,
	0x46, 0xe6, 0x76, 0xf5, 0x00, 0x00, 0xfa, 0x2d, 0x00, 0x88, 0x94, 0x94,
	0x94, 0xbd, 0x01, 0xa2, 0xa2, 0x4d, 0x20, 0x00, 0x5f, 0x4d, 0x63, 0x00,
	0x39, 0x4d, 0x00
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector9[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x71, 0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x6a, 0x46, 0x6c, 0xc9, 0x02,
	0xf6, 0x39, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0xa8, 0x55, 0xec, 0x9a, 0xf3, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0x95,
	0x95, 0x95, 0x95, 0x95, 0x95, 0x95, 0x95, 0x95, 0x95, 0x95, 0x95, 0x95,
	0x95, 0x95, 0x95, 0x95, 0x7a, 0xf4, 0x68, 0xff, 0xff, 0xff, 0x39, 0x39,
	0x35, 0x39, 0x39, 0x39, 0x39, 0x39, 0x39, 0x3f, 0xab, 0x7d, 0x10, 0xda,
	0x00, 0x00, 0x10, 0x65, 0x78, 0x64, 0x00, 0x00, 0x40, 0x13, 0x63, 0x6f,
	0x4a, 0x00, 0xbf, 0x56, 0x28, 0x60, 0x9a, 0xd6, 0x38, 0x3d, 0xce, 0x14,
	0xc7, 0x20, 0xa1, 0xba, 0x43, 0x00, 0x2f, 0xe3, 0xf5, 0xcd, 0x00, 0xa0,
	0x41, 0x43, 0x00, 0x2f, 0xe3, 0xf5, 0xcd, 0x02, 0x40, 0x0f, 0x0c, 0xbe,
	0x7a, 0xf4, 0x80, 0x80, 0x80, 0x80, 0x86, 0x80, 0x80, 0x80, 0x80, 0x80,
	0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x70, 0xe6, 0x20,
	0x74, 0x70, 0x78, 0x74, 0x20, 0x25, 0x7b, 0x7b, 0x6d, 0x1a, 0x6e, 0x69,
	0x68, 0xff, 0x02, 0xff, 0xd9, 0x01, 0x26, 0xa0, 0xf7, 0x1c, 0x46, 0x69,
	0x5e, 0x58, 0x24, 0x82, 0x02, 0x58, 0x20, 0x00, 0x11, 0x22, 0x33, 0x44,
	0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff, 0x01,
	0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0xfe, 0xdc, 0xba, 0x98, 0x76,
	0x54, 0x32, 0x10, 0x0e, 0x19, 0x87, 0xd0, 0x01, 0x0f, 0x02, 0x0f, 0x0a,
	0x43, 0x82, 0x03, 0x0f, 0x0c, 0x43, 0x82, 0x17, 0x01, 0x50, 0x9a, 0x00,
	0xf9, 0x80, 0xb0, 0x84, 0x43, 0x64, 0xff, 0xba, 0x98, 0x49, 0x00, 0xe6,
	0x76, 0xf5, 0x00, 0x00, 0xfa, 0x47, 0x00, 0x7f, 0x75, 0x51, 0x10, 0x10,
	0x1a, 0xfa, 0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector10[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0xa8, 0x55, 0xec, 0x9a, 0xf3, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0xd2,
	0x84, 0x43, 0xa1, 0x01, 0x26, 0xa0, 0xf6, 0x58, 0x40, 0xa1, 0x9f, 0xd1,
	0xf2, 0x3b, 0x17, 0xbe, 0xfc, 0x32, 0x1c, 0x00, 0x80, 0x42, 0x3d, 0xfb,
	0x48, 0xc4, 0x57, 0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x57, 0x7a, 0x3c, 0x10,
	0xc6, 0x77, 0x3f, 0x6f, 0x3a, 0x79, 0x02, 0x37, 0x6b, 0x59, 0x54, 0x09,
	0x20, 0xb6, 0xc5, 0xf5, 0x7b, 0xac, 0x5f, 0xc8, 0x54, 0x3d, 0x8f, 0x5d,
	0x3d, 0x97, 0x4f, 0xaa, 0x2e, 0x6d, 0x03, 0xda, 0xa5, 0x34, 0xb4, 0x43,
	0xa7, 0x03, 0x58, 0x71, 0xa5, 0x01, 0x01, 0x02, 0x00, 0x03, 0x58, 0x5f,
	0xa2, 0x02, 0x81, 0x81, 0x41, 0x00, 0x04, 0x58, 0x56, 0x86, 0x14, 0xa4,
	0x01, 0x50, 0xfa, 0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe, 0x9d,
	0xe6, 0x63, 0xe4, 0xd4, 0x1f, 0xfe, 0x02, 0x50, 0x14, 0x92, 0xaf, 0x14,
	0x25, 0x69, 0x5e, 0x48, 0xbf, 0x42, 0x9b, 0x2d, 0x51, 0xf2, 0xab, 0x45,
	0x12, 0x58, 0x24, 0x88, 0x7a, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff, 0x01,
	0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0xfe, 0xdc, 0xba, 0x98, 0x76,
	0x54, 0x32, 0x10, 0x0e, 0x19, 0x87, 0xd0, 0x01, 0x0f, 0x02, 0x0f, 0x0a,
	0x43, 0x82, 0x03, 0x0f, 0x0c, 0x43, 0x82, 0x17, 0x01, 0x50, 0x9a, 0x00,
	0xf9, 0x80, 0xb0, 0x84, 0x43, 0x64, 0xff, 0xba, 0x98, 0x49, 0x00, 0xe6,
	0x76, 0xf5, 0x00, 0x00, 0xfa, 0x47, 0x00, 0x7f, 0x78, 0x51, 0x10, 0x10,
	0x1a, 0xfa, 0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector11[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0xff, 0x7e, 0xde, 0x00, 0x39,
	0xa8, 0x55, 0xec, 0x9a, 0xf3, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0xd2,
	0x84, 0x43, 0xa1, 0x01, 0x26, 0xa0, 0xf6, 0x58, 0x40, 0xa1, 0x9f, 0xd1,
	0xf2, 0x3b, 0x17, 0xbe, 0xfc, 0x32, 0x1c, 0x00, 0x80, 0x42, 0x3d, 0xfb,
	0x48, 0xc4, 0x57, 0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x57, 0x7a, 0x3c, 0x10,
	0xc6, 0x77, 0x3f, 0x6f, 0x3a, 0x79, 0x02, 0x37, 0x6b, 0x59, 0x54, 0x09,
	0x20, 0xb6, 0xc5, 0x17, 0x7b, 0xac, 0x5f, 0xc8, 0x54, 0x3d, 0x8f, 0x5d,
	0x3d, 0x97, 0x4f, 0xaa, 0x2e, 0x6d, 0x03, 0xda, 0xa5, 0x34, 0xb4, 0x43,
	0xa7, 0x03, 0x58, 0x71, 0xa5, 0x01, 0x01, 0x02, 0x00, 0x03, 0x58, 0x5f,
	0xa2, 0x02, 0x81, 0x81, 0x41, 0x00, 0x04, 0x58, 0x56, 0x86, 0x14, 0xa4,
	0x01, 0x50, 0xfa, 0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe, 0x9d,
	0xe6, 0x63, 0xe4, 0xd4, 0x1f, 0xfe, 0x02, 0x50, 0x14, 0x92, 0xaf, 0x14,
	0x25, 0x69, 0x5e, 0x48, 0xbf, 0x42, 0x9b, 0x2d, 0x51, 0xf2, 0xab, 0x45,
	0x12, 0x58, 0x24, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff, 0x01,
	0x23, 0x45, 0x67, 0x89, 0x32, 0x1c, 0x00, 0x80, 0x42, 0x3d, 0xfb, 0x48,
	0xc4, 0x57, 0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x57, 0x7a, 0xab, 0xcd, 0xef,
	0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10, 0x0e, 0x19, 0x87, 0xd0,
	0x01, 0x0f, 0x02, 0x0f, 0x0a, 0x43, 0x82, 0x03, 0x0f, 0x0c, 0x43, 0x82,
	0x17, 0x01, 0x50, 0x9a, 0x00, 0xf9, 0x80, 0xb0, 0x84, 0x43, 0x64, 0xff,
	0xba, 0x98, 0x49, 0x00, 0xe6, 0x76, 0xf5, 0x00, 0x00, 0xfa, 0x47, 0x00,
	0x7f, 0x78, 0x51, 0x10, 0x10, 0x1a, 0xfa, 0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector12[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0xa8, 0x20, 0x00, 0x00, 0x00, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0x8e,
	0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x99, 0x8e, 0x8e,
	0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e,
	0x8e, 0xc4, 0x57, 0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x57, 0x7a, 0x3c, 0x10,
	0xc6, 0x77, 0x3f, 0x6f, 0x3a, 0x79, 0x02, 0x37, 0x6b, 0x59, 0x54, 0x09,
	0x20, 0xb6, 0xc5, 0xf5, 0x7a, 0xac, 0x5f, 0xc8, 0x54, 0x3d, 0x8f, 0x5d,
	0x3d, 0x97, 0x4f, 0xaa, 0x2e, 0x6d, 0x03, 0xda, 0xa5, 0x34, 0xb4, 0x43,
	0xa7, 0x03, 0x58, 0x71, 0xa5, 0x01, 0xa1, 0x02, 0x00, 0x03, 0x58, 0x5f,
	0xa2, 0x02, 0x81, 0x81, 0x41, 0x00, 0x04, 0x58, 0x56, 0x86, 0x14, 0xa4,
	0x01, 0x50, 0xfa, 0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe, 0x9d,
	0xe6, 0x63, 0xe4, 0x43, 0x82, 0x17, 0x01, 0x64, 0x00, 0x00, 0xf9, 0x80,
	0xb0, 0x84, 0x43, 0x64, 0xff, 0xba, 0x98, 0x49, 0x00, 0xe6, 0x76, 0xf5,
	0x00, 0x00, 0xfa, 0x47, 0x00, 0x7f, 0x78, 0x4b, 0x10, 0x10, 0x1a, 0xfa,
	0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector13[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0xa8, 0x20, 0x00, 0x00, 0x00, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0x8e,
	0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x99, 0x8e, 0x8e,
	0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e,
	0x7a, 0xc4, 0x57, 0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x57, 0x7a, 0x3c, 0x10,
	0xc6, 0x77, 0x3f, 0x6f, 0x3a, 0x79, 0x02, 0x37, 0x6b, 0x59, 0x54, 0x09,
	0x20, 0xb6, 0xc5, 0xf5, 0x7b, 0xac, 0x5f, 0xc8, 0x54, 0x3d, 0x8f, 0x5d,
	0x3d, 0x97, 0x4f, 0xaa, 0x2e, 0x6d, 0x03, 0xda, 0xa5, 0x34, 0xb4, 0x43,
	0xa7, 0x03, 0x58, 0x71, 0xa5, 0x01, 0xa1, 0x02, 0x00, 0x03, 0x58, 0x5f,
	0xa2, 0x02, 0x81, 0x81, 0x41, 0x00, 0x04, 0x58, 0x56, 0x86, 0x14, 0xa4,
	0x01, 0x50, 0xfa, 0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe, 0x9d,
	0xe6, 0x63, 0xe4, 0x43, 0x82, 0x17, 0x01, 0x64, 0x00, 0x00, 0xf9, 0x80,
	0xb0, 0x84, 0x43, 0x64, 0xff, 0xba, 0x98, 0x49, 0x00, 0xe6, 0x76, 0xf5,
	0x00, 0x00, 0xfa, 0x47, 0x00, 0x7f, 0x78, 0x4b, 0x10, 0x10, 0x1a, 0xfa,
	0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector14[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0x20, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0xa8, 0x20, 0x00, 0x00, 0x00, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0x8e,
	0x8e, 0x41, 0x00, 0xe9, 0x57, 0x56, 0x86, 0x14, 0xa4, 0x01, 0x10, 0xfa,
	0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe, 0x9d, 0xe6, 0x63, 0xe4,
	0x43, 0x82, 0x17, 0x01, 0x64, 0x00, 0x00, 0xf9, 0x80, 0xb0, 0x84, 0x43,
	0x64, 0xff, 0xba, 0x98, 0x49, 0x00, 0xce, 0x7a, 0xf5, 0x00, 0x00, 0x03,
	0xda, 0xa5, 0x34, 0xb4, 0x43, 0xa7, 0x03, 0x58, 0x71, 0xa5, 0x01, 0x01,
	0x02, 0x00, 0x03, 0x58, 0x5f, 0xa2, 0x02, 0x81, 0x81, 0xd3, 0x00, 0x04,
	0x58, 0x59, 0x86, 0x14, 0xa4, 0x01, 0x50, 0xfa, 0x6b, 0x4a, 0x53, 0xd5,
	0x10, 0x00, 0xdf, 0xbe, 0x9d, 0xe6, 0x63, 0xe4, 0xd4, 0x1f, 0x86, 0x14,
	0xfe, 0x02, 0xff, 0x14, 0x92, 0xaf, 0x14, 0x25, 0x69, 0x5e, 0x48, 0xbf,
	0x42, 0x9b, 0x2d, 0x51, 0xf2, 0xab, 0x45, 0x03, 0x58, 0x24, 0x88, 0x99,
	0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab,
	0xcd, 0xef, 0xfe, 0x58, 0x73, 0x82, 0x58, 0x24, 0xa2, 0x02, 0x58, 0x20,
	0x5c, 0x0a, 0x5b, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71, 0xe1,
	0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39, 0xa8,
	0x20, 0x00, 0x00, 0x00, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0x8e, 0x8e,
	0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x99, 0x8e, 0x00, 0x00,
	0x8e, 0x8e, 0x8e, 0x6b, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e,
	0x7d, 0x57, 0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x57, 0x69, 0x3c, 0x10, 0xc6,
	0x77, 0x3f, 0x6f, 0x2b, 0x79, 0x02, 0x7b, 0x3d, 0x97, 0x4f, 0x00, 0x00,
	0xff, 0xff, 0xda, 0xb8, 0x34, 0xb4, 0x43, 0xa7, 0x03, 0x58, 0x71, 0xa5,
	0x01, 0xa1, 0x02, 0x00, 0x03, 0x58, 0x5f, 0xa2, 0x02, 0x81, 0x81, 0x41,
	0x00, 0x04, 0x58, 0x56, 0x86, 0x14, 0xa4, 0x01, 0x50, 0xfa, 0x6b, 0x4a,
	0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe, 0x9d, 0xe6, 0x63, 0xe4, 0x43, 0x82,
	0x17, 0x01, 0x86, 0x00, 0x00, 0xf9, 0x80, 0xb0, 0x84, 0x43, 0x64, 0xff,
	0xba, 0x98, 0x49, 0x00, 0xe6, 0x76, 0xf5, 0x00, 0x00, 0x03, 0xda, 0xa5,
	0x34, 0xb4, 0x43, 0xa7, 0x03, 0x58, 0x71, 0xa5, 0x01, 0x01, 0x02, 0x00,
	0x03, 0x58, 0x5f, 0xa2, 0x02, 0x81, 0x81, 0x41, 0x00, 0x04, 0x58, 0x56,
	0x86, 0x14, 0xa4, 0x01, 0x50, 0xfa, 0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f,
	0xdf, 0x20, 0x9d, 0xe6, 0x63, 0xe4, 0xd4, 0x1f, 0x86, 0x14, 0xfe, 0x02,
	0xff, 0x24, 0x92, 0xaf, 0x14, 0x25, 0x69, 0x5e, 0x48, 0xbf, 0x42, 0x9b,
	0x2d, 0x51, 0xf2, 0xab, 0x45, 0x97, 0x97, 0x00, 0x00, 0x01, 0x00, 0x97,
	0x97, 0x97, 0x97, 0x97, 0x97, 0x97, 0x80, 0x97, 0x97, 0x97, 0x97, 0x97,
	0x97, 0x97, 0x97, 0x97, 0x97, 0x97, 0x97, 0x97, 0x01, 0x97, 0x97, 0x97,
	0x97, 0x97, 0x97, 0x97, 0x97, 0x97, 0x97, 0x97, 0x97, 0x97, 0xdb, 0x99,
	0x58, 0x00, 0x10, 0x84, 0x43, 0xa1, 0x01, 0x26, 0xa0, 0xf6, 0x58, 0x40,
	0xa1, 0x9f, 0xd1, 0xf2, 0x3b, 0x17, 0xbe, 0xfc, 0x32, 0x1c, 0xec, 0xe7,
	0x42, 0x3d, 0xfb, 0x48, 0xc4, 0x57
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector15[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0xa8, 0x20, 0x00, 0x00, 0x00, 0xf3, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0x8e,
	0x8e, 0x00, 0x10, 0x00, 0x00, 0x10, 0x8e, 0x8e, 0x8e, 0x99, 0x8e, 0x8e,
	0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e,
	0x7a, 0xc4, 0x57, 0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x55, 0x7a, 0x3c, 0x10,
	0xc6, 0x77, 0x3f, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x10, 0xf6,
	0x39, 0xa8, 0x55, 0xec, 0x9a, 0xf3, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a,
	0xd2, 0x84, 0x43, 0xa1, 0x01, 0x26, 0xa0, 0xf6, 0x58, 0x40, 0xa1, 0x9f,
	0xd1, 0xf2, 0x3b, 0x17, 0xbe, 0xfc, 0x32, 0x1c, 0xec, 0xe7, 0x42, 0x3d,
	0xfb, 0x48, 0xc4, 0x57, 0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x57, 0x7a, 0x3c,
	0x10, 0xc6, 0x77, 0x3f, 0x6f, 0x3a, 0x79, 0x5d, 0x3d, 0x97, 0x4f, 0xaa,
	0x2e, 0x6d, 0x03, 0xda, 0xa5, 0x34, 0xb4, 0x43, 0xa7, 0x03, 0x58, 0x71,
	0xa5, 0x01, 0x01, 0x02, 0x84, 0x43, 0x64, 0xff, 0xba, 0x98, 0x49, 0x00,
	0xe6, 0x76, 0xf5, 0x00, 0x00, 0xfa, 0x47, 0x00, 0x7f, 0x78, 0x4b, 0x10,
	0x10, 0x5a, 0xfa, 0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector16[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0xa8, 0x20, 0x00, 0x00, 0x00, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0x8e,
	0x8e, 0x8e, 0x8e, 0x73, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x99, 0x8e, 0x8e,
	0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e,
	0x8e, 0xc4, 0x57, 0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x57, 0x7a, 0x00, 0xe7,
	0x01, 0xe8, 0xff, 0x54, 0x09, 0x20, 0xb6, 0xc5, 0xf5, 0x7b, 0x00, 0xfd,
	0x00, 0x40, 0x21, 0xff, 0xb9, 0xff, 0x7a, 0x43, 0x77, 0x0d, 0x00, 0x01,
	0x7a, 0xff, 0x82, 0x01, 0xff, 0x20, 0x00, 0x04, 0x00, 0x0c, 0x01, 0x54,
	0xc8, 0xe7, 0xe7, 0xe7, 0x6f, 0x00, 0xd1, 0x3a, 0x00, 0x00, 0xe7, 0xf2,
	0xe7, 0xff, 0x54, 0x09, 0x20, 0xb6, 0xc5, 0xf5, 0x7b, 0xac, 0x5f, 0xc8,
	0x54, 0x3d, 0x8f, 0x5d, 0x3d, 0x97, 0x4f, 0xaa, 0x2e, 0x6d, 0x03, 0xda,
	0x20, 0x00, 0xfd, 0x00, 0x40, 0x40, 0xff, 0xb9, 0xff, 0x7a, 0x43, 0x77,
	0x0d, 0x00, 0x01, 0x7a, 0x53, 0xa5, 0x01, 0xa1, 0x02, 0x00, 0x03, 0x64,
	0x5f, 0xa2, 0x02, 0x81, 0x81, 0x41, 0x00, 0x04, 0x58, 0x56, 0x86, 0x14,
	0xa4, 0x01, 0x50, 0xfa, 0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe,
	0x9d, 0xe6, 0x63, 0xe4, 0x37, 0x82, 0x17, 0x01, 0x64, 0x00, 0x00, 0xf9,
	0x80, 0xb0, 0x84, 0x43, 0x64, 0xff, 0xba, 0x98, 0x49, 0x00, 0xe6, 0x76,
	0xe0, 0x00, 0x00, 0xfa, 0x47, 0x00, 0x7f, 0x78, 0x4b, 0x10, 0x10, 0x1a,
	0xfa, 0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector17[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0xa8, 0x20, 0x00, 0x00, 0x00, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0x8e,
	0x8e, 0x8e, 0x8e, 0x8e, 0xa0, 0x8e, 0x8e, 0x8e, 0x8e, 0x99, 0x8e, 0x8e,
	0xf0, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e,
	0x8e, 0xc4, 0x7a, 0xb8, 0xf1, 0xf6, 0xac, 0x83, 0x57, 0x7a, 0x3c, 0x10,
	0xc6, 0x77, 0x3f, 0x6f, 0x3a, 0x79, 0x02, 0x37, 0x6b, 0x59, 0x54, 0x09,
	0x20, 0xb6, 0xc5, 0xf5, 0x7b, 0xac, 0x5f, 0xc8, 0x54, 0x3d, 0x8f, 0x5d,
	0x3d, 0x97, 0x4f, 0xaa, 0x2e, 0x6d, 0x03, 0xda, 0xa5, 0x34, 0xb4, 0x43,
	0xa7, 0x00, 0x00, 0x71, 0xa5, 0x01, 0xa1, 0x02, 0x00, 0x03, 0x58, 0x5f,
	0xa2, 0x02, 0x81, 0x81, 0x41, 0x00, 0x04, 0x58, 0x56, 0x86, 0x14, 0xa4,
	0x01, 0x50, 0xfa, 0x6b, 0x4a, 0x53, 0xd5, 0xad, 0x5f, 0xdf, 0xbe, 0x9d,
	0xe6, 0x63, 0xe4, 0x43, 0x82, 0x17, 0x01, 0x64, 0x00, 0x00, 0xf9, 0x80,
	0xb0, 0x84, 0x43, 0x64, 0xff, 0xba, 0x98, 0x49, 0x00, 0xe6, 0x76, 0xf5,
	0x00, 0x00, 0xfa, 0x47, 0x00, 0x7f, 0x78, 0x4b, 0x10, 0x10, 0x1a, 0xfa,
	0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector18[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x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, 0x66,
	0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff, 0x01, 0x23, 0x45,
	0x67, 0x89, 0xab, 0xcd, 0xef, 0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32,
	0x10, 0x0e, 0x19, 0x87, 0xd0, 0x01, 0x0f, 0x02, 0x0f, 0x0a, 0x43, 0x82,
	0x03, 0x0f, 0x0c, 0x43, 0x82, 0x17, 0x02
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector19[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x43, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x55, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0xa8, 0x55, 0xf6, 0x9a, 0xf3, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0x97,
	0x97, 0x97, 0x97, 0x97, 0x77, 0x97, 0x97, 0x97, 0x97, 0x97, 0xe5, 0xc2,
	0xf0, 0xe5, 0xe5, 0xe5, 0x6f, 0x68, 0x71, 0xe1, 0xf2, 0x41, 0x8e, 0xef,
	0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xd4, 0xce, 0xa1, 0x01, 0x07, 0xa0, 0xd6,
	0x2c, 0x40, 0xa1, 0xe5, 0xa7, 0x8e, 0x5a, 0xfe, 0x01, 0x02, 0x25, 0x03,
	0x58, 0x5f, 0xa2, 0x02, 0x81, 0x81, 0x41, 0x00, 0x04, 0x58, 0x56, 0x02,
	0x00, 0x03, 0x58, 0x5f, 0xa2, 0x02, 0x14, 0x25, 0x69, 0x5e, 0x23, 0x02,
	0x7c, 0xdf, 0x02, 0x59, 0x25
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector20[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x21, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0x01, 0x55, 0xee, 0x9a, 0xf3, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0x99,
	0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x08, 0x15, 0x08,
	0x00, 0x00, 0xff, 0xff, 0x68, 0x7a, 0xf4, 0x68, 0xff, 0xff, 0x19, 0xff,
	0x7f, 0x35, 0x39, 0x39, 0x39, 0x39, 0x39, 0x39, 0x3f, 0xab, 0x20, 0x86,
	0x73, 0x74, 0x2d, 0x64, 0x69, 0x67, 0x65, 0x73, 0x40, 0x78, 0x74, 0x7d,
	0x87, 0x82, 0x80, 0xff, 0x82, 0x02, 0x40, 0x0f, 0x0c, 0xbe, 0x7a, 0xf4,
	0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80,
	0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x64, 0x00, 0x00, 0x00, 0x7a,
	0xf4, 0x68, 0xff, 0xff, 0xff, 0x39, 0x39, 0x35, 0x39, 0x39, 0x39, 0x39,
	0x39, 0x39, 0x3f, 0xab, 0x7d, 0x10, 0xda, 0x00, 0x00, 0x10, 0x65, 0x78,
	0x64, 0x00, 0x00, 0x40, 0x13, 0x63, 0x6f, 0x4a, 0x00, 0xbf, 0x56, 0x28,
	0x60, 0x9a, 0xd6, 0x38, 0x3d, 0xce, 0x14, 0xc7, 0x20, 0xa1, 0xba, 0x43,
	0x00, 0x2f, 0xe3, 0xf5, 0x92, 0xaf, 0x14, 0x25, 0x69, 0x5e, 0x48, 0xbf,
	0x42, 0x9b, 0x2d, 0x51, 0xf2, 0xab, 0x45, 0x03, 0x58, 0x24, 0x82, 0x02,
	0x58, 0x20, 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99,
	0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab,
	0xcd, 0xef, 0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10, 0x0e, 0x19,
	0x87, 0xd0, 0x01, 0x0f, 0x02, 0x0f, 0x0a, 0x43, 0x82, 0x03, 0x0f, 0x0c,
	0x43, 0x82, 0x17, 0x01, 0x50, 0x9a, 0x00, 0xf9, 0x80, 0xb0, 0x84, 0x43,
	0x64, 0xff, 0xba, 0x98, 0x49, 0x00, 0xe6, 0x76, 0xf5, 0x00, 0x00, 0xfa,
	0x47, 0x00, 0x7f, 0x78, 0x51, 0x10, 0x10, 0x1a, 0xfa, 0x2c
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector21[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0x01, 0x55, 0xee, 0x9a, 0xf3, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0x84,
	0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84,
	0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84,
	0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84,
	0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84,
	0x09, 0x20, 0xb6, 0xc5, 0xf5, 0x5a, 0xac, 0x5f, 0xc8, 0x80, 0x3d, 0x8f,
	0x15, 0x10, 0xab, 0xcd, 0x39, 0x98, 0x22, 0x54, 0x32, 0x00, 0x84, 0x84,
	0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x7f,
	0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x80, 0x84, 0x84, 0x84, 0x84,
	0x84, 0xfa, 0x39, 0x00, 0x14, 0x25, 0x69, 0x5e, 0x48, 0xbf, 0x42, 0x9b,
	0x2d, 0x51, 0xf2, 0xab, 0x45, 0x03, 0x58, 0x24, 0x82, 0x02, 0x58, 0x20,
	0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb,
	0xcc, 0xdd, 0xee, 0xff, 0xf2, 0x22, 0x45, 0x10, 0x89, 0xab, 0xcd, 0xce,
	0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0xda, 0xa5, 0x34, 0xb4, 0x43,
	0xa7, 0x03, 0x03, 0x58, 0x24, 0x82, 0x02, 0x58, 0xb2, 0x00, 0x11, 0x22,
	0x33, 0x44, 0x55, 0x66, 0x77, 0xa1, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee,
	0xff, 0x01, 0x23, 0x45, 0x10, 0x89, 0xab, 0xcd, 0xce, 0xfe, 0xdc, 0xba,
	0x98, 0x76, 0x54, 0x32, 0x10, 0x0e, 0x19, 0x87, 0xd0, 0x01, 0x0f, 0x02,
	0x0f, 0x0a, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff,
	0x0e, 0x1a, 0x00, 0x01, 0x2c, 0x22, 0x13, 0x43, 0xa1, 0x01, 0x41, 0x16,
	0x00, 0xfa, 0x01, 0x03, 0x28, 0x0c, 0x45, 0x84, 0x0c, 0x02, 0x17, 0x02
};

/* Test vector discovered via fuzzing with AFL. */
uint8_t crash_vector22[] = {
	0xd8, 0x30, 0xa4, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82, 0x02, 0x58,
	0x20, 0x5c, 0x09, 0x7e, 0xf6, 0x4b, 0xf3, 0x00, 0x9b, 0x49, 0x4e, 0x71,
	0xe1, 0xf2, 0x41, 0x8e, 0xef, 0x8d, 0x46, 0x6c, 0xc9, 0x02, 0xf6, 0x39,
	0x01, 0x55, 0xee, 0x9a, 0xf3, 0xe9, 0xed, 0xdb, 0x99, 0x58, 0x4a, 0x84,
	0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84,
	0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84,
	0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x00, 0x00,
	0x04, 0x00, 0x91, 0x74, 0x8a, 0x8d, 0x74, 0x74, 0x74, 0x74, 0xc6, 0x3f,
	0x6f, 0x3a, 0x79, 0x02, 0x37, 0x6b, 0x59, 0x54, 0x09, 0x20, 0xb6, 0xc5,
	0xf5, 0x5a, 0xac, 0x5f, 0xc8, 0x80, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84,
	0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84,
	0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x7f, 0x84, 0x84,
	0x84, 0x84, 0x84, 0x84, 0x84, 0x80, 0x84, 0x84, 0x84, 0x84, 0x84, 0xfa,
	0x39, 0x00, 0x14, 0x25, 0x69, 0x5e, 0x48, 0xbf, 0x42, 0x9b, 0x2d, 0x51,
	0xf2, 0xab, 0x45, 0x03, 0x58, 0x24, 0x82, 0x02, 0x58, 0x20, 0x00, 0x11,
	0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd,
	0xee, 0xff, 0x01, 0x23, 0x45, 0x10, 0x89, 0xab, 0xcd, 0xce, 0xfe, 0xcc,
	0xba, 0x98, 0x76, 0x54, 0x32, 0xda, 0xa5, 0x34, 0xb4, 0x43, 0xa7, 0x03,
	0x03, 0x58, 0x24, 0x82, 0x02, 0x58, 0xb2, 0x00, 0x11, 0x22, 0x33, 0x44,
	0x55, 0x66, 0x77, 0xa1, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff, 0x01,
	0x87, 0xd0, 0x01, 0x0f, 0x02, 0x0f, 0x0a, 0x66, 0x77, 0x88, 0x99, 0xaa,
	0xbb, 0x40, 0xdd, 0xee, 0xff, 0x0e, 0x1a, 0x00, 0x01, 0x2c, 0x22, 0x13,
	0x43, 0xa1, 0x01, 0x01, 0x16, 0x00, 0x16, 0x02, 0x03, 0x28, 0x0c, 0x45,
	0x84, 0x0c, 0x02, 0x17, 0x02
};


bool fuzz_one_input(const uint8_t *data, size_t size);

#define FUZZ(x) fuzz_one_input(x, sizeof(x))

void test_manifest12_crash0(void)
{
	FUZZ(crash_vector0);
}

void test_manifest12_crash1(void)
{
	FUZZ(crash_vector1);
}

void test_manifest12_crash2(void)
{
	FUZZ(crash_vector2);
}

void test_manifest12_crash3(void)
{
	FUZZ(crash_vector3);
}

void test_manifest12_crash4(void)
{
	FUZZ(crash_vector4);
}

void test_manifest12_crash5(void)
{
	FUZZ(crash_vector5);
}

void test_manifest12_crash6(void)
{
	FUZZ(crash_vector6);
}

void test_manifest12_crash7(void)
{
	FUZZ(crash_vector7);
}

void test_manifest12_crash8(void)
{
	FUZZ(crash_vector8);
}

void test_manifest12_crash9(void)
{
	FUZZ(crash_vector9);
}

void test_manifest12_crash10(void)
{
	FUZZ(crash_vector10);
}

void test_manifest12_crash11(void)
{
	FUZZ(crash_vector11);
}

void test_manifest12_crash12(void)
{
	FUZZ(crash_vector12);
}

void test_manifest12_crash13(void)
{
	FUZZ(crash_vector13);
}

void test_manifest12_crash14(void)
{
	FUZZ(crash_vector14);
}

void test_manifest12_crash15(void)
{
	FUZZ(crash_vector15);
}

void test_manifest12_crash16(void)
{
	FUZZ(crash_vector16);
}

void test_manifest12_crash17(void)
{
	FUZZ(crash_vector17);
}

void test_manifest12_crash18(void)
{
	FUZZ(crash_vector18);
}

void test_manifest12_crash19(void)
{
	FUZZ(crash_vector19);
}

void test_manifest12_crash20(void)
{
	FUZZ(crash_vector20);
}

void test_manifest12_crash21(void)
{
	FUZZ(crash_vector21);
}

void test_manifest12_crash22(void)
{
	FUZZ(crash_vector22);
}


void test_main(void)
{
	ztest_test_suite(cbor_decode_test8,
			 ztest_unit_test(test_manifest12_crash0),
			 ztest_unit_test(test_manifest12_crash1),
			 ztest_unit_test(test_manifest12_crash2),
			 ztest_unit_test(test_manifest12_crash3),
			 ztest_unit_test(test_manifest12_crash4),
			 ztest_unit_test(test_manifest12_crash5),
			 ztest_unit_test(test_manifest12_crash6),
			 ztest_unit_test(test_manifest12_crash7),
			 ztest_unit_test(test_manifest12_crash8),
			 ztest_unit_test(test_manifest12_crash9),
			 ztest_unit_test(test_manifest12_crash10),
			 ztest_unit_test(test_manifest12_crash11),
			 ztest_unit_test(test_manifest12_crash12),
			 ztest_unit_test(test_manifest12_crash13),
			 ztest_unit_test(test_manifest12_crash14),
			 ztest_unit_test(test_manifest12_crash15),
			 ztest_unit_test(test_manifest12_crash16),
			 ztest_unit_test(test_manifest12_crash17),
			 ztest_unit_test(test_manifest12_crash18),
			 ztest_unit_test(test_manifest12_crash19),
			 ztest_unit_test(test_manifest12_crash20),
			 ztest_unit_test(test_manifest12_crash21),
			 ztest_unit_test(test_manifest12_crash22)
	);
	ztest_run_test_suite(cbor_decode_test8);
}
